package threadLocal;

/**
 * @author: cuiyutian1
 * @date: 2022/1/12 15:06
 * @description:
 */
public class consumer {

    public void deal() {
        Object o = Holder.map.get();
        Holder.map.remove();
        System.out.println("consume : " + o);
        System.out.println(Thread.currentThread().getName() + "---" + Thread.currentThread().getId());
    }
}
